static vs local variable. There are any references about static vs local variable in here. you can look below.